#pragma once
#ifndef _FLOATBAR_H__
#define _FLOATBAR_H__


#include <QToolBar>
#include <QAction>
#include <QComboBox>
#include <QActionGroup>

#include "RibbonStyleAPI.hpp"

NAMESPACE_BEGIN(NSFloatBar)

class RIBBONSTYLEAPI FloatBar : public QToolBar {
    Q_OBJECT
    SIGNALDEC(FloatBar, QToolBar)
protected:
    void Initialize();
    void Finalize();

private:
    
    REGACTION(actor_clipper)
    REGACTION(pick_model)
    REGACTION(pick_surfer)
    REGACTION(pick_elem)
    REGACTION(pick_line)
    REGACTION(pick_point)
    REGACTION(pick_nothing)
    REGACTGP(pick_group)
    //REGACTION(hover_point)
    //REGACTION(hover_cell)

public Q_SLOTS:
    void resizeBarEvent(QPoint pos, QSize size);

};

NAMESPACE_END

#endif // !_FLOATBAR_H__
